package com.gzx.plugin.tjzy.modular.call.single.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.gzx.plugin.tjzy.modular.call.single.entity.GzxSinglePointCalls;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.common.pojo.CommonEntity;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

import java.util.Date;

@Data
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = GzxSinglePointCalls.class)
public class GzxSinglePointCallsVo extends CommonEntity {

    /*
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;
    /**
     * 电话号码
     */
    @ExcelProperty(value = "电话号码")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phoneNumber;
    /**
     * 拨打时间
     */
    @ExcelProperty(value = "拨打时间", format = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(30)
    private Date dailingTime;
    /**
     * 拨打人
     */
    @ExcelProperty(value = "拨打人")
    private String createName;


}
